package com.czy.owner.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/4/19 0019.
 */

public class PunchRecordModel implements Serializable {

    /**
     * orderType : scratchCard
     * orderNumber : DD201704191736381934775
     * createTime : 1492594598193
     * endTime : 1492594598194
     * orderItems : [{"itemName":"商品4","itemType":"goods","count":1},{"itemName":"服务4","itemType":"service","count":1},{"itemName":"商品3","itemType":"goods","count":1},{"itemName":"服务3","itemType":"service","count":1}]
     * chName : null
     */

    private String orderType;
    private String orderNumber;
    private long createTime;
    private long endTime;
    private String chName;
    private String borrowedFlag;
    private String name;
    private String phone;
    private String nickName;
    private String licenseNumber;

    public String getLicenseNumber() {
        return licenseNumber;
    }

    public void setLicenseNumber(String licenseNumber) {
        this.licenseNumber = licenseNumber;
    }

    public String getBorrowedFlag() {
        return borrowedFlag;
    }

    public void setBorrowedFlag(String borrowedFlag) {
        this.borrowedFlag = borrowedFlag;
    }

    public String getName() {
        return name==null?"":name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickName() {
        return nickName==null?"":nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    private long sort;
    private String myGroupName;
    private List<OrderItemsBean> orderItems;

    public long getSort() {
        return sort;
    }

    public void setSort(long sort) {
        this.sort = sort;
    }

    public String getMyGroupName() {
        return myGroupName;
    }

    public void setMyGroupName(String myGroupName) {
        this.myGroupName = myGroupName;
    }


    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public String getChName() {
        return chName;
    }

    public void setChName(String chName) {
        this.chName = chName;
    }

    public List<OrderItemsBean> getOrderItems() {
        return orderItems;
    }

    public void setOrderItems(List<OrderItemsBean> orderItems) {
        this.orderItems = orderItems;
    }

    public static class OrderItemsBean {
        /**
         * itemName : 商品4
         * itemType : goods
         * count : 1
         */

        private String itemName;
        private String itemType;
        private int count;

        public String getItemName() {
            return itemName;
        }

        public void setItemName(String itemName) {
            this.itemName = itemName;
        }

        public String getItemType() {
            return itemType;
        }

        public void setItemType(String itemType) {
            this.itemType = itemType;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }
    }

}
